import service from "../request.ts";

//发送AI对话
export const PostWithAiDialogueApi = (params: any) =>
  service.post("/WithAiDialogue", params, {
    responseType: "stream", // 设置响应类型为流
  });

//获取用户ai对话列表
export const GetDialogueListApi = (params: any) =>
  service.post("/GetDialogueList", params);

//删除用户的全部历史对话记录
export const DeleteUserDialogueListApi = () =>
  service.get("/DeleteUserDialogueList");
